package com.tengju.data.domain.model.activity;

import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * @author 大木
 * @Date 2021/10/14
 */
@Data
public class ActivityViewReachQuery {

    private Long activityId;

    private Long idCode;

    private Integer targetType;

    private Integer subjectType;

    private Integer dimId;

    private Integer roleType;

    private Long belongSecId;

    private String activityDate;

    private String dataType;

    private List<Long> genSecIdCodes;

    private LocalDate activityStartDate;

    private LocalDate activityEndDate;

    private Integer pageSize = 1;

    private Integer offset = 300;

    /**
     * 数据查看类型 DAY:天（eg:趋势图） ALL：整体
     */
    private String viewType = "ALL";

    private List<Long> ssoUserId;

    private String orderColumn;

    private String orderType;

    private List<Long> leaderId;

    public void dayView() {
        this.viewType = "DAY";
    }

    public void allView() {
        this.viewType = "ALL";
    }

}

